package cn.avalon.system.mapper;

import cn.avalon.system.domain.Role;
import cn.avalon.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Avalon
 * @since 2022-08-30
 */
public interface RoleMapper extends BaseMapper<Role> {

    void addRolePermission(Role role);

    void addRoleMenu(Role role);

    void delPermissionByRoleId(Long id);

    void delMenuByRoleId(Long id);

    void delEmployeeByRoleId(Long id);
}
